##Setup scripts with apkn customizations
##implements functions listed below
#1. Initializes a Z Pyscopg database connection (Should already be 
#installed)
#2. Manages property settings for the SQL pas plugins - source_roles,
# source_users and source_groups
#3. Disable search for users from within the Plone site
#4. Additional group management - and roles setup
#5. 
##

from Products.CMFPlone.utils import _createObjectByType


def setupVarious(context):

    # Ordinarily, GenericSetup handlers check for the existence of XML files.
    # Here, we are not parsing an XML file, but we use this text file as a
    # flag to check that we actually meant for this import step to be run.
    # The file is found in profiles/default.

    if context.readDataFile('plonetheme.apkntheme_various.txt') is None:
        return
    
